﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Microhard.WeixinMP.Impls;
using Microhard.WeixinMP.Filter;
using Micrhard.FMCG.Server.Weixin;

namespace Microhard.FMCG.WebUI.Areas.FMCG.Controllers
{
    public class WXController : WeixinBaseController
    {
        protected override void GetAllResponses()
        {
            this._allRp.Add(new BindingAccount());
            this._allRp.Add(new GetMyClientInfo());
            this._allRp.Add(new GetKADisplayPic_Welcome_1());
            this._allRp.Add(new GetKADisplayPic_TakeKACode_2());
            this._allRp.Add(new GetKADisplayPic_TakeImage_3());
            this._allRp.Add(new GetNotice());
            this._allRp.Add(new WriteMyDailyReport());
            this._allRp.Add(new CheckIn_Welcome_1());
            this._allRp.Add(new OnFoucsWXMP());
            this._allRp.Add(new CoinExchange());
        }

        [RecordMsgInDB(WXMPUserName = "youjimian", Order = 9)]
        public override ActionResult Post(string signature, string timestamp, string nonce, string echostr)
        {
            return base.Post(signature, timestamp, nonce, echostr);
        }

    }
}
